package com.situ.company.service;

import java.util.List;

import com.situ.company.entity.User;
import com.situ.company.util.JSONResult;
import com.situ.company.vo.PageInfo;

public interface IUserService {
	List<User> selectAll();

	PageInfo selectByPage(int pageNo, int pageSize);

	boolean deleteById(int id);

	JSONResult selectLayuiByPage(String name, Integer page, Integer limit);

	boolean deleteAll(String[] ids);

	boolean insert(User user, String[] roleIds);

	User selectById(int id);

	boolean update(User user, String[] roleIds);

}
